-- GENERATED SPELL FOR [Bor'gorok Battleguard] --


function spell0_27073(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_27073', 644, 1)
end

function Sorts_27073(pUnit, Event)
local choix_sorts_27073 = math.random(0, 0)
if choix_sorts_27073 == 0 then
pUnit:RegisterEvent('spell0_27073', 1, 1)
end
end

function mob27073_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27073', math.random(1500, 3000), 1)
end

function mob27073_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27073_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27073_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27073, 1, 'mob27073_Action')
RegisterUnitEvent(27073, 2, 'mob27073_Leave')
RegisterUnitEvent(27073, 3, 'mob27073_Kill')
RegisterUnitEvent(27073, 4, 'mob27073_Die')
